# Plastic plugin for Redmine
#

require 'redmine'
require 'redmine/scm/base'

# Patches to the Redmine core. Will not work in development mode
require_dependency 'repositories_helper_patch'

Redmine::Plugin.register :redmine_plastic do
  name 'Redmine PlasticSCM plugin'
  author 'Wonho Seo'
  description 'This is a plugin for Redmine PlasticSCM Repository'
  version '1.0.1-SNAPSHOT'
  url 'http://code.google.com/p/redmine-plastic'
  author_url 'http://code.google.com/p/redmine-plastic/people/list'
  
  scm = 'Plastic'
  Redmine::Scm::Base.add scm
  unless Setting.enabled_scm.include?(scm)
    Setting.enabled_scm << scm
  end
  
#enabled_scm:
#  default:
#  - Plastic
  
end

#enabled_scm:
#  default:
#  - Plastic
